package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 用户最后一笔零售收银的销售单
 * </p>
 *
 * @author chenj
 * @since 2020-03-19
 */
public class UserLastRetail extends Model<UserLastRetail> {

    private static final long serialVersionUID = 1L;

    private String id;

    private String userId;

    private String saleId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getSaleId() {
        return saleId;
    }

    public void setSaleId(String saleId) {
        this.saleId = saleId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "UserLastRetail{" +
            "id=" + id +
            ", userId=" + userId +
            ", saleId=" + saleId +
        "}";
    }
}
